package ai.people.netmon.framework.domain.common;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 简易的name：value响应数据
 * @author LiGuanNan
 * @date 2022/5/17 11:51
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NameValueEntity<T,S> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * name
     */
    private T name;

    /**
     * value
     */
    private S value;

}
